package com.hz.email.dao;

import com.hz.email.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PaymentDao {
    int add(Payment payment);

    Payment getPaymentById(@Param("id") long id);

    int modify(Payment payment);

    List<Payment> findList(Payment payment);

    Payment findOne(Payment payment);
}
